//
//  CourseWork.h
//  Gradekeeper0.2
//
//  Created by Qian Tim on 09-11-17.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Date.h"


@interface CourseWork : NSObject {
	NSString* name;
	float mark;
	float maxMark;
	float percentage;
	NSString* type;
	Date* startDate;
	Date* dueDate;
}

-(CourseWork*) initWithName: (NSString*) newName Type: (NSString*) newType maxMark: (float) newMaxMark startDate: (Date*) newStartDate dueDate: (Date*) newDueDate;
-(void) setMark: (float) newMark;
-(void) setName: (NSString*) newName;
-(void) setMaxMark: (float) newMaxMark;
-(void) setType: (NSString*) newType;
-(void) setStartDate: (Date*) newStartDate;
-(void) setDueDate: (Date*) newDueDate;
-(float) getMark;
-(float) getMaxMark;
-(float) getPercentage;
-(NSString*) getName;
-(NSString*) getType;
-(Date*) getStartDate;
-(Date*) getDueDate;

@end
